package dao;

import entity.Emp;
import vo.EmpVO;

import java.util.List;

/**
 * Author:shixiaojun@itany.com
 * Date:2022/4/26 16:51
 * Version:1.0-SNAPSHOT
 * Description:
 */
public interface EmpDao {

    public void insertEmp(Emp emp);

    /**
     * 根据主键查询指定的员工以及其所属的部门信息
     * @param id
     * @return
     */
    public Emp selectById(Integer id);
    public Emp selectById2(Integer id);
    public Emp selectById3(Integer id);
    public EmpVO selectById4(Integer id);

    public List<Emp> selectAll();

}
